// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import Client from '@api/accesscontrol/api/AccessRecordStatisticApi'

import TempClass from '@api/accesscontrol/model/BaseReq'

const CLIENT = CORE.grpcCLIENT(Client)

// ============================== 导出远程接口 ============================== //

export default {
  // —————————————————————————————— 体温 —————————————————————————————— //

  async getTemp(param, TIP = '查询体温统计') {
    const DTO = CORE.grpcDTO(TempClass, param)
    const resp = await CORE.grpc(TIP, CLIENT, 'accessRecordTemperatureCake', DTO)
    return resp || {}
  },
}
